* {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.sidebar {
  width: 250px;
  height: 100vh;
  background-color: #f4f4f4;
  padding: 20px;
  box-sizing: border-box;
  float: left;
}

.logo img {
  width: 100px;
  height: 100px;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
}

.menu ul {
  list-style-type: none;
  padding: 0;
}

.menu ul li {
  margin-bottom: 10px;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.menu ul li a:hover {
  color: #666;
}

/* 初始状态下submenu不可见 */
.submenu {
  display: none;
}

/* 按钮样式 */
#toggleButton {
  cursor: pointer;
}

.main-content {
  margin-left: 280px;
  padding: 20px;
}

.question {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.question h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.question p {
  font-size: 18px;
  line-height: 1.6;
}

.tags {
  margin-top: 10px;
}

.tag {
  background-color: #f0f0f0;
  color: #666;
  padding: 5px 10px;
  border-radius: 20px;
  margin-right: 5px;
  font-size: 14px;
  display: inline-block;
}